﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ClsController.CatalogosNegocio
{
    public class Catalogo
    {

        public enum ControlType
        {
            ComboBox,
            TextBox,
            Button,
            CheckBox,
            RadioButton,
            DateTimePicker,
            DataGridView,
            Label,
            DBTextbox,
            DBDropDownList,
            DBDateTimePicker,
            DBLabel
        }

        public enum TiposValidaciones
        {
            AlfaNum,
            Correo,
            Entero,
            FechaHora,
            Clave
        }

        public enum WeekDays
        {
          Monday = 0,
          Tuesday = 1,
          Wednesday = 2,
          Thursday = 3,
          Friday = 4,
          Saturday = 5,
          Sunday = 6
        }

        public enum FormMode
        {
            FOR_NEW=0,
            FOR_UPDATE=1,
            FOR_SEARCH=2
        }

        public static String MSG_ERROR1 = "Debe el valor no puede estar en blanco";

        public static String VALIDACIONES_ALFANUM = "[a-zA-Z0-9]";
        public static String VALIDACIONES_CORREO = @"[a-zA-Z0-9_\-\.]+@[a-zA-Z0-9_\-\.]+\.[a-zA-Z]{2,5}";
        public static String VALIDACIONES_ENTERO = "^-[0-9]+$|^[0-9]+$";
        public static String VALIDACIONES_CLAVE = "[a-zA-Z0-9][;:*?<>&()$%!@+?¿]";

    }
}
